package com.itheima.service;

import com.itheima.myExceptions.AssociatedException;
import com.itheima.pojo.PhysicalExam;

import java.util.Map;

/**
 * 健康干预服务接口
 */
public interface InterventionService {
    //健康干预
    public void add(PhysicalExam physicalExam, Integer[] foodIds, Integer[] sportIds) throws AssociatedException;

    //根据预约订单id查询健康干预
    public Map findByOrderId(Integer orderId);
}
